home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
pibsigs.lbr
/
TESTSIGN.PQS
/
testsign.pas
Wrap
Pascal/Delphi Source File
|
1985-04-28
|
466b
|
32 lines
PROGRAM TestSign;
VAR
Z: REAL;
P: REAL;
Done: BOOLEAN;
(*$I SIGCONST.PAS *)
(*$I ERF.PAS *)
(*$I SIGNORM.PAS *)
BEGIN (* TestSign *)
Done := FALSE;
REPEAT
WRITE('Enter Z: ');
READLN( Z );
IF ( Z <> -99.0 ) THEN
BEGIN
P := SigNorm( Z );
WRITELN('P = ',P:8:6);
END
ELSE
Done := TRUE;
UNTIL Done;
END (* TestSign *).